<template>
	<view class="empty">
		<image src="/static/home/empty.png" class="empty__icon" mode=""></image>
		<view class="empty__text" style="margin-bottom: 20rpx;">
			{{title}}
		</view>
		<view class="empty__text">
			{{tip}}
		</view>
		<slot />
	</view>
</template>

<script>
	export default {
		name:"empty",
		props:{
			title:'',
			tip:''
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.empty{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	&__icon{
		width: 442rpx;
		height: 290rpx;
		margin-bottom: 76rpx;
	}
	&__text{
		font-family: PingFang-SC, PingFang-SC;
		font-weight: 500;
		font-size: 23rpx;
		color: #B5B5B5;
		line-height: 23rpx;
	}
}
</style>